Handle errors in setting the path bar's path. Fixes #136000, based on a
authorFederico Mena Quintero <federico@ximian.com>
Wed, 3 Mar 2004 00:38:19 +0000 (00:38 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Wed, 3 Mar 2004 00:38:19 +0000 (00:38 +0000)
commite50fb6876339163a7c57d48742fc019590800334
tree36e651ba7f7f6e0ee24bca2bed9ec7d65dff2c52
parent2169f50919be21b48fe1916af7ab663ac8d0b1a7
Handle errors in setting the path bar's path. Fixes #136000, based on a

2004-03-02  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_set_current_folder): Handle errors in
setting the path bar's path.  Fixes #136000, based on a patch by
Morten Welinder.

* gtk/gtkfilesystemunix.c (gtk_file_system_unix_insert_bookmark):
Don't free our own propagated error.

* gtk/gtkpathbar.c (gtk_path_bar_set_path): Likewise, and free the
parent_path upon error.  Fixes #136006, patch by Morten Welinder.
(gtk_path_bar_set_path): Unref the file_folder upon error.
(gtk_path_bar_set_path): Return a boolean success code.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkfilechooserdefault.c
gtk/gtkfilesystemunix.c
gtk/gtkpathbar.c
gtk/gtkpathbar.h